<?php
/**
 * @author : shiminyan
 * @date: 2020/6/3 21:07
 */

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
Route::group(function (){
    Route::miss('Miss/index');
    Route::rule('/login','Login/index');
    Route::rule('/logout','Login/logout')->middleware([\app\middleware\AdminAuth::class]);
    Route::rule('/getUserInfo','Login/getUserInfo')->middleware([\app\middleware\AdminAuth::class]);
})->allowCrossDomain();




